import Vuex from "vuex";
import Vue from "vue";
import home from "./modules/home";
import search from "./modules/search";
Vue.use(Vuex);

const state = {};
const mutations = {};
const actions = {};
const getters = {};

const modules = {
    home,
    search,
  }; //后期来合并小store
  
  const store = new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
    modules,
  });
  
  export default store;